package com.xian.wsim.dto;

import lombok.Data;

import java.io.Serializable;

@Data
public class AuthResponseDto implements Serializable {
    private String token;
    private Long userId;
    private String username;
    private String nickname;
    private String avatarUrl;
    private String wsUrl;

    public AuthResponseDto(String token, Long userId, String username,
                           String nickname, String avatarUrl, String wsUrl) {
        this.token = token;
        this.userId = userId;
        this.username = username;
        this.nickname = nickname;
        this.avatarUrl = avatarUrl;
        this.wsUrl = wsUrl;
    }
}